package com.spvs.approval.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spvs.approval.domain.ApprovalClassifyEntity;
import com.spvs.approval.domain.vo.ApprovalClassifyVo;
import com.spvs.common.core.web.domain.AjaxResult;

import java.util.Map;

/**
 * 审批模板表
 */
public interface ApprovalClassifyService extends IService<ApprovalClassifyEntity> {

    Page<ApprovalClassifyEntity> queryPage(Map<String, Object> params);

    ApprovalClassifyEntity selectOneByName(String classifyName);

    ApprovalClassifyEntity selectOneByCode(String classifyCode);

     AjaxResult saveOrModifyClassify(ApprovalClassifyVo approvalClassifyVo )throws Exception;
}

